#!/bin/bash

echo "ClientAliveInterval 60" >>/etc/ssh/sshd_config
echo "ClientAliveCountMax 30" >>/etc/ssh/sshd_config
systemctl restart sshd